const HM_News = "heima_toutiao"


let saveToken = obj => {
  localStorage.setItem(HM_News, JSON.stringify(obj))
}
let getToken = () => {
  return JSON.parse(localStorage.getItem(HM_News))
}
let removeToken = () => {
  localStorage.removeItem(HM_News)
}

export {
  saveToken,
  getToken,
  removeToken
}
